import java.io.Closeable;
import java.io.IOException;

public class CloseUtil {

	public static void CloseAll(Closeable...closeables) {
		for(Closeable c:closeables) {
			if(c!=null) {
				try {
					c.close();
				} catch (IOException e) {
					e.printStackTrace();
				}
			}
		}
	}

}
